package com.lxb.myblog.service;

import com.lxb.myblog.po.Blog;
import com.lxb.myblog.queryvo.BlogQuery;

import java.util.List;

public interface BlogService {

    public List<BlogQuery> getAllBlog();

    int saveBlog(Blog blog);

    int updateBlog(Integer id, Blog blog);

    Blog getBlog(int id);

    void deleteBlog(int id);

    void saveTag(Integer blogId, Integer tagId);
}
